package cn.edu.hrbcu.es.invigilatemanagerment.service;

import cn.edu.hrbcu.es.invigilatemanagerment.pojo.Examinfo;
import org.springframework.stereotype.Service;

import java.nio.file.Path;
import java.util.List;


public interface IExamInfoService {
    List<Examinfo> queryAllExamInfo();

    List<Examinfo> queryAllExamInfoByClazzId(Integer id);

    Examinfo queryExamInfoById(Integer id);

    Integer insertExamInfo(Examinfo examinfo);

    Integer updateExamInfoById(Examinfo examinfo);

    Integer deleteExamInfoById(Integer id);

    void exportExcel();

    void importExcel(Path path);

    int queryExamInfoCount();

    List<Examinfo> queryExamInfoByPage(int pageNow,int pageSize);
}
